/*
 *  Cero Project - Copyright   2006 The Cero Developement Team 
 *  (Michael Laguerre, Camille Roux, Matthieu Segret, Mathieu Sivade) 
 * 
 *  This program is free software; you can redistribute it and/or modify it 
 *  under the terms of the GNU General Public License as published by the Free 
 *  Software Foundation; either version 2 of the License, or (at your option) 
 *  any later version.
 * 
 *  This program is distributed in the hope that it will be useful, but 
 *  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
 *  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 
 *  for more details.
 */

package org.ceroproject.ui.graphical.tools;



/**
 * Interface used to draw a rectangle
 * 
 * @author Matt
 */

public interface Rectangle {


	/**
	 * Return the coordinate of the Rectangle
	 * 
	 * @return the coordinate of the Rectangle
	 */
	public String toString();
	
	/**
	 * Returns the X-coordinate of the rectangle
	 * 
	 * @return the X-coordinate of the rectangle
	 */
	public int getX();

	/**
	 * Set the X-coordinate of the Rectangle
	 * 
	 * @param x
	 *            the new X-coordinate of the rectangle
	 */
	public void setX(int x);

	/**
	 * Returns the Y-coordinate of the rectangle
	 * 
	 * @return the Y-coordinate of the rectangle
	 */
	public int getY();

	/**
	 * Set the Y-coordinate of the Rectangle
	 * 
	 * @param y
	 *            the new Y-coordinate of the rectangle
	 */
	public void setY(int y);

	/**
	 * Returns the Rectangle's height
	 * 
	 * @return the Rectangle's height
	 */
	public int getHeight();

	/**
	 * Set the Rectangle's height
	 * 
	 * @param height
	 *            the new Rectangle's height
	 */
	public void setHeight(int heigth);

	/**
	 * Returns the Rectangle's width
	 * 
	 * @return the Rectangle's width
	 */
	public int getWidth();

	/**
	 * Set the Rectangle's width
	 * 
	 * @param height
	 *            the Rectangle's width
	 */
	public void setWidth(int width);
}
